private PrinterSettings printersettings;
private PrintController printcontroller;
private string documentname;
-#if !(NET_1_0)
private bool originAtMargins = false; // .NET V1.1 Beta
-#endif
public PrintDocument() {
documentname = "document"; //offical default.
}
}
-#if !(NET_1_0)
[DefaultValue (false)]
[SRDescription ("Determines if the origin is set at the specified margins.")]
public bool OriginAtMargins{
originAtMargins = value;
}
}
-#endif
// methods
public void Print(){
IServerChannelSinkProvider next = null;
BinaryCore _binaryCore;
-#if NET_1_0
- internal static string[] AllowedProperties = new string [] { "includeVersions", "strictBinding" };
-#else
internal static string[] AllowedProperties = new string [] { "includeVersions", "strictBinding", "typeFilterLevel" };
-#endif
public BinaryServerFormatterSinkProvider ()
{
private IServerChannelSinkProvider _next;\r
SoapCore _soapCore;\r
\r
-#if NET_1_0\r
- internal static string[] AllowedProperties = new string [] { "includeVersions", "strictBinding" };\r
-#else\r
internal static string[] AllowedProperties = new string [] { "includeVersions", "strictBinding", "typeFilterLevel" };\r
-#endif\r
\r
public SoapServerFormatterSinkProvider ()\r
{\r
public const string DigestMethod = "DigestMethod";
public const string DigestValue = "DigestValue";
public const string DSAKeyValue = "DSAKeyValue";
-#if NET_2_0
public const string EncryptedKey = "EncryptedKey";
-#endif
public const string HMACOutputLength = "HMACOutputLength";
public const string KeyInfo = "KeyInfo";
public const string KeyName = "KeyName";
public const string Manifest = "Manifest";
public const string Object = "Object";
public const string Reference = "Reference";
-#if NET_1_0
- // RetrievalMethod vs RetrievalElement -> BUG in MS Framework 1.0
- public const string RetrievalMethod = "RetrievalElement";
-#else
public const string RetrievalMethod = "RetrievalMethod";
-#endif
public const string RSAKeyValue = "RSAKeyValue";
public const string Signature = "Signature";
public const string SignatureMethod = "SignatureMethod";
return AuthUrl (null, -1, -1, null, -1, null, -1, -1);
}
-#if (!NET_1_0)
public string AuthUrl (String strReturnUrl)
{
return AuthUrl (strReturnUrl, -1, -1, null, -1, null, -1, -1);
}
-#endif
public string AuthUrl (string strReturnUrl,
int iTimeWindow,
return true;
}
-#if NET_1_0
- public override string ReadInnerXml ()
- {
- // MS.NET 1.0 has a serious bug here. It skips validation.
- return ReadInnerXmlInternal ();
- }
-
- public override string ReadOuterXml ()
- {
- // MS.NET 1.0 has a serious bug here. It skips validation.
- return ReadInnerXmlInternal ();
- }
-
- // XmlReader.ReadString() should call derived this.Read().
- public override string ReadString ()
- {
- return ReadStringInternal ();
- }
-#endif
-
// This class itself does not have this feature.
public override void ResolveEntity ()
{
return true;
}
-#if NET_1_0
- public override string ReadInnerXml ()
- {
- // MS.NET 1.0 has a serious bug here. It skips validation.
- return reader.ReadInnerXml ();
- }
-
- public override string ReadOuterXml ()
- {
- // MS.NET 1.0 has a serious bug here. It skips validation.
- return reader.ReadOuterXml ();
- }
-#endif
-
// XmlReader.ReadString() should call derived this.Read().
public override string ReadString ()
{
-#if NET_1_0
- return reader.ReadString ();
-#else
return base.ReadString ();
-#endif
}
// This class itself does not have this feature.
Array.Copy (table, newTable, inUse);
this.table = newTable;
}
-#if NET_1_0
- else if (current > defaultCapacity && value < current) {
- KeyValuePair<TKey, TValue> [] newTable = new KeyValuePair<TKey, TValue> [defaultCapacity];
- Array.Copy (table, newTable, inUse);
- this.table = newTable;
- }
-#endif
else if (value > inUse) {
KeyValuePair<TKey, TValue> [] newTable = new KeyValuePair<TKey, TValue> [value];
Array.Copy (table, newTable, inUse);
protected NameObjectCollectionBase ()
{
m_readonly = false;
-#if NET_1_0
- m_hashprovider = CaseInsensitiveHashCodeProvider.Default;
- m_comparer = CaseInsensitiveComparer.Default;
-#else
m_hashprovider = CaseInsensitiveHashCodeProvider.DefaultInvariant;
m_comparer = CaseInsensitiveComparer.DefaultInvariant;
-#endif
m_defCapacity = 0;
Init();
}
protected NameObjectCollectionBase( int capacity )
{
m_readonly = false;
-#if NET_1_0
- m_hashprovider = CaseInsensitiveHashCodeProvider.Default;
- m_comparer = CaseInsensitiveComparer.Default;
-#else
m_hashprovider = CaseInsensitiveHashCodeProvider.DefaultInvariant;
m_comparer = CaseInsensitiveComparer.DefaultInvariant;
-#endif
m_defCapacity = capacity;
Init();
}