Mono.Tuner.InjectSecurityAttributes.DecomposeAttributeType C# (CSharp) Метод

DecomposeAttributeType() статический приватный Метод

static private DecomposeAttributeType ( string marker ) : AttributeType
marker string
Результат AttributeType
		static AttributeType DecomposeAttributeType (string marker)
		{
			if (marker.StartsWith ("SC"))
				return AttributeType.Critical;
			else if (marker.StartsWith ("SSC"))
				return AttributeType.SafeCritical;
			else
				throw new ArgumentException ();
		}