System.Web.Script.Services.LogicalTypeInfo.CreateTypeInfo C# (CSharp) 메소드

CreateTypeInfo() 공개 정적인 메소드

public static CreateTypeInfo ( Type t, string filePath ) : LogicalTypeInfo
t System.Type
filePath string
리턴 LogicalTypeInfo
		public static LogicalTypeInfo CreateTypeInfo (Type t, string filePath)
		{
#if NET_3_5
			if (t.GetCustomAttributes (typeof (ServiceContractAttribute), false).Length > 0)
				return new WcfLogicalTypeInfo (t, filePath);
			else
#endif
				return new AsmxLogicalTypeInfo (t, filePath);
		}