public Clerk(string compensator, string description, CompensatorOptions flags) { SecurityPermission permission = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode); permission.Demand(); permission.Assert(); this.Init(compensator, description, flags); }
public Clerk(Type compensator, String description, CompensatorOptions flags) { this.compensator = compensator.AssemblyQualifiedName; this.description = description; this.flags = flags; }
// Constructors. public Clerk(String compensator, String description, CompensatorOptions flags) { this.compensator = compensator; this.description = description; this.flags = flags; }
/// <include file='doc\CRM.uex' path='docs/doc[@for="Clerk.Clerk1"]/*' /> public Clerk(String compensator, String description, CompensatorOptions flags) { SecurityPermission sp = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode); sp.Demand(); sp.Assert(); Init(compensator, description, flags); }
public Clerk(Type compensator, string description, CompensatorOptions flags) { SecurityPermission permission = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode); permission.Demand(); permission.Assert(); this.ValidateCompensator(compensator); string str = "{" + Marshal.GenerateGuidForType(compensator) + "}"; this.Init(str, description, flags); }
private void Init(String compensator, String description, CompensatorOptions flags) { // Create the logcontrol object: DBG.Info(DBG.CRM, "Creating the log-control object"); _control = new CrmLogControl(); DBG.Info(DBG.CRM, "Registering the compensator '" + compensator + "' w/ the control."); _control.RegisterCompensator(compensator, description, (int)flags); DBG.Info(DBG.CRM, "Getting monitor from log-control object"); _monitor = _control.GetMonitor(); }
/// <include file='doc\CRM.uex' path='docs/doc[@for="Clerk.Clerk"]/*' /> public Clerk(Type compensator, String description, CompensatorOptions flags) { SecurityPermission sp = new SecurityPermission(SecurityPermissionFlag.UnmanagedCode); sp.Demand(); sp.Assert(); Platform.Assert(Platform.W2K, "CRM"); ValidateCompensator(compensator); String progid = "{" + Marshal.GenerateGuidForType(compensator) + "}"; Init(progid, description, flags); }
public Clerk(string compensator, string description, CompensatorOptions flags) { }
public Clerk (Type compensator, string description, CompensatorOptions flags) { throw new NotImplementedException (); }
private void Init(string compensator, string description, CompensatorOptions flags) { this._control = new CrmLogControl(); this._control.RegisterCompensator(compensator, description, (int modopt(IsLong)) flags); this._monitor = this._control.GetMonitor(); }
public Clerk(Type compensator, string description, CompensatorOptions flags) { throw new NotImplementedException(); }
private void Init(string compensator, string description, CompensatorOptions flags) { this._control = new CrmLogControl(); this._control.RegisterCompensator(compensator, description, (int modopt(IsLong))flags); this._monitor = this._control.GetMonitor(); }
public Clerk(string compensator, string description, CompensatorOptions flags) {}