示例#1
0
 public SecurityTokenReferenceType()
 {
     Reference = new ReferenceType();
     //KeyIdentifier = new KeyIdentifierType();
 }
		public ReferenceList(ReferenceTypeEnum rte, string uri)
		{
			if(rte == ReferenceTypeEnum.DataReference)
			{
				DataReference = new ReferenceType();
				DataReference.URI = uri;
			}
			else //KeyRef
			{
				KeyReference = new ReferenceType();
				KeyReference.URI = uri;
			}
		}
		public SecurityTokenReferenceType()
		{
			Reference = new ReferenceType();
			//KeyIdentifier = new KeyIdentifierType();
		}