public ConferenceCreateRequest(
     ConferenceName conferenceName,
     Password convenerPassword,
     Password password,
     Asn1Boolean lockedConference,
     Asn1Boolean listedConference,
     Asn1Boolean conductibleConference,
     TerminationMethod terminationMethod,
     Asn1SetOf<Privilege> conductorPrivileges,
     Asn1SetOf<Privilege> conductedPrivileges,
     Asn1SetOf<Privilege> nonConductedPrivileges,
     TextString conferenceDescription,
     TextString callerIdentifier,
     UserData userData)
 {
     this.conferenceName = conferenceName;
     this.convenerPassword = convenerPassword;
     this.password = password;
     this.lockedConference = lockedConference;
     this.listedConference = listedConference;
     this.conductibleConference = conductibleConference;
     this.terminationMethod = terminationMethod;
     this.conductorPrivileges = conductorPrivileges;
     this.conductedPrivileges = conductedPrivileges;
     this.nonConductedPrivileges = nonConductedPrivileges;
     this.conferenceDescription = conferenceDescription;
     this.callerIdentifier = callerIdentifier;
     this.userData = userData;
 }
 public Control(
     LDAPOID controlType,
     Asn1Boolean criticality,
     Asn1OctetString controlValue)
 {
     this.controlType = controlType;
     this.criticality = criticality;
     this.controlValue = controlValue;
 }
 public ModifyDNRequest(
     LDAPDN entry,
     RelativeLDAPDN newrdn,
     Asn1Boolean deleteoldrdn,
     LDAPDN newSuperior)
 {
     this.entry = entry;
     this.newrdn = newrdn;
     this.deleteoldrdn = deleteoldrdn;
     this.newSuperior = newSuperior;
 }
 public MatchingRuleAssertion(
     MatchingRuleId matchingRule,
     AttributeDescription type,
     AssertionValue matchValue,
     Asn1Boolean dnAttributes)
 {
     this.matchingRule = matchingRule;
     this.type = type;
     this.matchValue = matchValue;
     this.dnAttributes = dnAttributes;
 }
 public Connect_Initial(
     Asn1OctetString callingDomainSelector,
     Asn1OctetString calledDomainSelector,
     Asn1Boolean upwardFlag,
     DomainParameters targetParameters,
     DomainParameters minimumParameters,
     DomainParameters maximumParameters,
     Asn1OctetString userData)
 {
     this.callingDomainSelector = callingDomainSelector;
     this.calledDomainSelector = calledDomainSelector;
     this.upwardFlag = upwardFlag;
     this.targetParameters = targetParameters;
     this.minimumParameters = minimumParameters;
     this.maximumParameters = maximumParameters;
     this.userData = userData;
 }
        //Constraint is not needed for primitive type BOOLEAN.
        //Therefore no need to override VerifyConstraints method.

        #region overrode methods from System.Object

        /// <summary>
        /// Overrode method from System.Object.
        /// </summary>
        /// <param name="obj">The object to be compared.</param>
        /// <returns>True if obj has same data with this instance. False if not.</returns>
        public override bool Equals(Object obj)
        {
            // If parameter is null return false.
            if (obj == null)
            {
                return(false);
            }

            // If parameter cannot be cast to Asn1Boolean return false.
            Asn1Boolean p = obj as Asn1Boolean;

            if (p == null)
            {
                return(false);
            }

            // Return true if the fields match.
            return(Value == p.Value);
        }
 public SearchRequest(
     LDAPDN baseObject,
     SearchRequest_scope scope,
     SearchRequest_derefAliases derefAliases,
     Asn1Integer sizeLimit,
     Asn1Integer timeLimit,
     Asn1Boolean typesOnly,
     Filter filter,
     AttributeDescriptionList attributes)
 {
     this.baseObject = baseObject;
     this.scope = scope;
     this.derefAliases = derefAliases;
     this.sizeLimit = sizeLimit;
     this.timeLimit = timeLimit;
     this.typesOnly = typesOnly;
     this.filter = filter;
     this.attributes = attributes;
 }
 public SearchRequest(
     LDAPDN baseObject,
     SearchRequest_scope scope,
     SearchRequest_derefAliases derefAliases,
     Asn1Integer sizeLimit,
     Asn1Integer timeLimit,
     Asn1Boolean attrsOnly,
     Filter filter,
     Asn1SequenceOf<AttributeType> attributes)
 {
     this.baseObject = baseObject;
     this.scope = scope;
     this.derefAliases = derefAliases;
     this.sizeLimit = sizeLimit;
     this.timeLimit = timeLimit;
     this.attrsOnly = attrsOnly;
     this.filter = filter;
     this.attributes = attributes;
 }
 public RequireSortIndexHintValue(
     Asn1Boolean IndexOnly)
 {
     this.IndexOnly = IndexOnly;
 }
 public KERB_PA_PAC_REQUEST(
     Asn1Boolean param0)
 {
     this.include_pac = param0;
 }